﻿
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class PriceChange
    {
        public PriceChange()
        {
            this.CheckInDate = DateTime.Now;
        }

        public int Id { get; set; }
        public int OrderId { get; set; }
        public decimal OldPrice { get; set; }
        public decimal NewPrice { get; set; }
        public int Admin { get; set; }
        public string IP { get; set; }
        public System.DateTime CheckInDate { get; set; }

        public virtual Order Order { get; set; }

        [DataMember, NotMapped]
        public string OrderNum { get; set; }
    }
}